package com.dao.secondary.device;
import com.model.domain.device.GetDeviceObdBaseInfoDO;
import com.model.domain.device.GetDeviceObdWorkDailyRecordInfoDO;
import com.model.pojo.device.DeviceObdWorkDailyRecordInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface DeviceObdWorkDailyRecordInfoMapper {
    int deleteByPrimaryKey(@Param("deviceObdWorkDailyRecordInfoId") Long deviceObdWorkDailyRecordInfoId);

    int insert(DeviceObdWorkDailyRecordInfo record);

    int insertSelective(DeviceObdWorkDailyRecordInfo record);

    DeviceObdWorkDailyRecordInfo selectByPrimaryKey(@Param("deviceObdWorkDailyRecordInfoId") Long deviceObdWorkDailyRecordInfoId, @Param("isDelete") Byte isDelete);

    int updateByPrimaryKeySelective(DeviceObdWorkDailyRecordInfo record);

    int updateByPrimaryKey(DeviceObdWorkDailyRecordInfo record);

    List<DeviceObdWorkDailyRecordInfo> selectList(GetDeviceObdWorkDailyRecordInfoDO getdeviceObdWorkDailyRecordInfoDO);
    List<Map<String,Object>> selectOnLineDataInDay(GetDeviceObdWorkDailyRecordInfoDO getdeviceObdWorkDailyRecordInfoDO);
    void insertListSelective(List<DeviceObdWorkDailyRecordInfo> deviceObdWorkDailyRecordInfoList);

    void updateListSelective(List<DeviceObdWorkDailyRecordInfo> deviceObdWorkDailyRecordInfoList);

    int has(@Param("deviceObdWorkDailyRecordInfoId") Long deviceObdWorkDailyRecordInfoId, @Param("isDelete") Byte isDelete);
}